package cn.iocoder.yudao.module.train.controller.admin.student.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 学生用户分页 Request VO")
@Data
public class StudentPageReqVO extends PageParam {
    @Schema(description = "学生姓名", example = "王五")
    private String studentName;

    @Schema(description = "出生日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] studentBirthdate;

    @Schema(description = "年龄")
    private Integer studentAge;

    @Schema(description = "手机号码")
    private String studentPhoneNumber;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户名")
    private String uName;

    @Schema(description = "openId")
    private Long uOpenId;

    @Schema(description = "头像地址")
    private String uAvatar;

    @Schema(description = "学生性别（0男 1女 2未知）", example = "0")
    private Integer studentSex;

    @Schema(description = "帐号状态（0正常 1停用）", example = "1")
    private Integer uStatus;

    @Schema(description = "会员标识", example = "1")
    private Integer vipFlag;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "会员到期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] expireTime;
}
